﻿using Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Iservices
{
  public interface Isalary_grantServices
    {

        Task<List<salary_grant>> SelectAll();
        //修改
        Task<int> Update(salary_grant t);
        //删除
        Task<int> Delete(int id);

        //添加
        Task<int> Add(salary_grant t);


        //按id查询
        Task<salary_grant> SelectID(int id);

        //分页
        Task<List<salary_grant>> FenYe(FenYe fy);
        Task<List<salary_grant>> FenYeSel(FenYe fy);

        Task<Dictionary<string, object>> FenYe_grant_Async(int currentpage,string where);
    }
}
